package imper.engine.entity;

import java.util.Map;

public class CountryLink
{
  protected int _IdCountry1;
  protected int _IdCountry2;
  protected int _link;
  protected Map<Integer, Treaty> _treaties;

  protected CountryLink(int pIdCountry1, int pIdCountry2)
  {
    _IdCountry1 = pIdCountry1;
    _IdCountry2 = pIdCountry2;
  }

  protected void addTreaty(Treaty pTreaty)
  {
    _treaties.put(pTreaty.getId(), pTreaty);
  }

  /**
   * @return the _IdCountry1
   */
  public int getIdCountry1()
  {
    return _IdCountry1;
  }

  /**
   * @param _IdCountry1 the _IdCountry1 to set
   */
  public void setIdCountry1(int pIdCountry1)
  {
    this._IdCountry1 = pIdCountry1;
  }

  /**
   * @return the _IdCountry2
   */
  public int getIdCountry2()
  {
    return _IdCountry2;
  }

  /**
   * @param _IdCountry2 the _IdCountry2 to set
   */
  public void setIdCountry2(int pIdCountry2)
  {
    this._IdCountry2 = pIdCountry2;
  }
}
